package com.huiyun.project.im.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * IM组
 * </p>
 *
 * @author DESKTOP-CIBUH3O
 * @since 2020-07-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "ImGroup对象", description = "IM组")
public class ImGroup implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    private String name;

    @ApiModelProperty(value = "扩展字段")
    private String extra;

    @ApiModelProperty(value = "最大IM用户数量")
    private Integer maxUserCount;

    @ApiModelProperty(value = "是否临时组 1.是 0.否")
    private String tempFlag;

    private Date createTime;

    @ApiModelProperty(value = "过期时间")
    private Date dueTime;

    @ApiModelProperty(value = "创建人")
    private String createBy;


}
